package com.wey.service.impl;

import com.wey.vo.UserVo;
import com.wey.mapper.UserMapper;
import com.wey.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements IUserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public UserVo querUserByUserName(String userName) {
        return userMapper.getUserByUserName(userName);
    }
}
